/**
 * Copyright © 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.systemswitch.entity;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;

import com.jeeplus.core.persistence.DataEntity;
import com.jeeplus.common.utils.excel.annotation.ExcelField;
import lombok.Data;

/**
 * systemSwitchEntity
 * @author 秦子洋
 * @version 2023-02-28
 */
@Data
public class SystemSwitch extends DataEntity<SystemSwitch> {
	
	private static final long serialVersionUID = 1L;
	@ExcelField(title="一键关闭", align=2, sort=1)
	private Integer oneClickClose;		// 一键关闭
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@ExcelField(title="开始关闭时间", align=2, sort=2)
	private Date startClosingTime;		// 开始关闭时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@ExcelField(title="结束关闭时间", align=2, sort=3)
	private Date endClosingTime;		// 结束关闭时间
	
	public SystemSwitch() {
		super();
	}
	
	public SystemSwitch(String id){
		super(id);
	}
}